﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SpiceNet.Simulations
{
    /// <summary>
    /// A class with job information
    /// </summary>
    public abstract class Job
    {
        /// <summary>
        /// Gets the name of the job
        /// </summary>
        public string Name { get; }

        /// <summary>
        /// The type of job
        /// </summary>
        // public int Type;

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="name"></param>
        public Job(string name)
        {
            Name = name;
        }

        /// <summary>
        /// Get or set a parameter for this analysis job
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        public abstract object this[string key]
        {
            get;
            set;
        }
    }
}
